﻿using System;
using System.Web.UI;
using Ipepper.EnvioEmail.Negocio;

namespace Ipepper.EnvioEmail.Web
{
    public partial class Templates : Mdp.Framework.Componentes.Page
    {
        Object objTemplate;
        protected void Page_Load(object sender, EventArgs e){}

        protected void Page_Init(object sender, EventArgs e)
        {
            objTemplate = new Template("ConnectionString");
            this.PropriedadeChave = "idTemplate";
            this.CarregarObjetoBase(objTemplate, !Page.IsPostBack);
            this.OpenLightBox("#dialog1");
        }
        protected void imgfechar_Click(object sender, System.Web.UI.ImageClickEventArgs e)
        {
            this.RedirecionarLocalidade("default.aspx", true);
        }
    }
}
